package com.catclay.adultmoon.service.impl.logistics;

import com.catclay.adultmoon.dao.OrderDao;
import com.catclay.adultmoon.service.logistics.LogisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 物流信息查询
 */
@Service
public class LogisticsServiceImpl implements LogisticsService {

    @Autowired
    OrderDao orderDao;

    /**
     * 根据手机号码获取运单号
     *
     * @param recePhone 收件人手机号
     * @return
     */
    @Override
    public String getlogisticsNo(String recePhone) {
         return orderDao.queryLogisticsByphone(recePhone);
    }
}
